package org.blogwu.learn.designpattern.chapter10.v2;

/**
 * 购买礼物
 *
 * @author hyf
 * @date 2018-10-25
 **/
public class PointsPaymentService {

    public boolean pay(PointGift pointGift) {
        // 扣减积分逻辑
        System.out.println("支付 " + pointGift.getName() + " 成功");
        return true;
    }
}
